﻿@using KDS.Mes.Web.Navigation
@using Abp.Web.Mvc.Extensions
@using KDS.Mes.Authorization


@using Abp.Application.Services.Dto
using KDS.Mes.Web.Navigation
@using Abp.Web.Mvc.Extensions
@using KDS.Mes.Authorization
@using Abp.Application.Services.Dto
@using KDS.Mes.Web.Models.Plans

@model Tuple<PlansViewModel, CreateOrEditPlanModalViewModel>

@{
    ViewBag.ActiveMenu = PageNames.App.Common.Andon;
}




@* 注入所需JS *@
@section Scripts
{
    @Html.IncludeScript("~/Views/ANDON/_CreateOrEditANDONModal.js")
    @Html.IncludeScript("~/Views/ANDON/Index.js")
<script src="~/Content/datepicker/bootstrap-datepicker.js"></script>
<script src="~/Content/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<script src="~/Content/layer/layer.js"></script>

}

<div class="box box-info collapsed-box">
    <div class="box-header with-border">
        <h3 class="box-title">@L("Query")</h3>
        <div class="box-tools pull-right">
            <button id="btn-query" type="button" class="btn btn-xs">
                <i class="fa fa-search">@L("Query")</i>
            </button>
            <button type="button" class="btn btn-box-tool" data-widget="collapse">
                <i class="fa fa-plus"></i>
            </button>
        </div>
    </div>
    <form class="form-horizontal">
       </form>
</div>
<div class="box">
    <div class="box-body">
        <!-- bootstrap-tablel指定的工具栏 -->
        <div id="toolbar" class="btn-group">
            @if (IsGranted(AppPermissions.Pages_Bom_Parts_Create))
            {
                <button id="btn-add" type="button" class="btn btn-primary">
                    <span class="fa fa-plus" aria-hidden="true"></span> @L("Add")
                </button>
            }
            @if (IsGranted(AppPermissions.Pages_Bom_Parts_Edit))
            {
                <button id="btn-edit" type="button" class="btn btn-success">
                    <span class="fa fa-pencil" aria-hidden="true"></span> @L("Edit")
                </button>
            }
            @if (IsGranted(AppPermissions.Pages_Bom_Parts_Delete))
            {
                <button id="btn-delete" type="button" class="btn btn-danger">
                    <span class="fa fa-remove" aria-hidden="true"></span> @L("Delete")
                </button>
            }
            <button id="btn-export" type="button" class="btn btn-info">
                <span class="glyphicon glyphicon-export" aria-hidden="true"></span> @L("Export")
            </button>
        </div>
        <!--bootstrap-table表体-->
        <table id="tb"></table>
    </div>
</div>



 